import request from '@/utils/request'


export function pageList(params) {
  return request({
    url: '/exam/paper/answer/pageList',
    method: 'get',
     data: params
  })
}
export function answerSubmit(params) {
  return request({
    url: '/exam/paper/answer/answerSubmit',
    method: 'post',
    data: params
  })
  
}

export function read(id) {
  return request({
    url: '/exam/paper/answer/read/' + id,
    method: 'post',
  })
}
export function edit(params) {
  return request({
    url: '/exam/paper/answer/edit',
    method: 'post',
    data: params
  })
}